/*
 * @Author: fengYM feng25321@163.com
 * @Date: 2023-09-01 17:56:26
 * @LastEditors: fengYM feng25321@163.com
 * @LastEditTime: 2023-09-19 11:17:02
 * @Description: 通用nameSpace
 */
declare namespace commonTypes {
  export interface ApiResponse<T> {
    code: number;
    msg: string;
    data: T;
  }

  export interface ApiRowResponse<T> {
    code: number;
    msg: string;
    rows: T[];
    total?: number;
  }
  export interface commonPayType {
    /**
     * 订单失效时间
     */
    failureTime: string;
    /**
     * 订单id
     */
    id: number;
    /**
     * 付款金额
     */
    price: number;
  }
}
